package ThaumPerditio.common.registry;

import ThaumPerditio.client.renderer.item.ItemDefusionPedestalRenderer;
import ThaumPerditio.client.renderer.tile.TileDefusionPedestalTESR;
import ThaumPerditio.common.block.BlockDefusionDevice;
import ThaumPerditio.common.block.ItemBlockArcaneInfusedStone;
import ThaumPerditio.common.block.BlockArcaneInfusedStone;

import ThaumPerditio.common.block.ItemBlockDefusionDevice;
import ThaumPerditio.common.tile.TileDefusionPedestal;
import cpw.mods.fml.client.registry.ClientRegistry;
import net.minecraft.block.Block;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.item.Item;
import net.minecraftforge.client.MinecraftForgeClient;


public class BlockRegistry {
    public static void init ()
    {
        //Arcane Infused Stone
        BlockArcaneInfusedStone = new BlockArcaneInfusedStone();
        GameRegistry.registerBlock(BlockArcaneInfusedStone, ItemBlockArcaneInfusedStone.class, "blockArcaneInfusedStone");

        //Arcane Defuser Pedestal
        BlockDefusionDevice = new BlockDefusionDevice();
        GameRegistry.registerBlock(BlockDefusionDevice, ItemBlockDefusionDevice.class, "blockDefusionDevice");
        GameRegistry.registerTileEntity(TileDefusionPedestal.class, "tileDefusionPedestal");
        ClientRegistry.bindTileEntitySpecialRenderer(TileDefusionPedestal.class, new TileDefusionPedestalTESR());
        MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockDefusionDevice), new ItemDefusionPedestalRenderer(new TileDefusionPedestal(), new TileDefusionPedestalTESR()));
    }

    public static Block BlockArcaneInfusedStone;
    public static Block BlockDefusionDevice;


}
